<?php
require_once("connect_db.php");
if(isset($_GET["page"]) && $_GET["page"]!=""){
	$menu_id = $_GET["page"];
	$sql = "SELECT c.page_id, c.page_content, c.page_status
			FROM tb_page_content c
			WHERE c.menu_id=".$menu_id;

	$query = mysql_query($sql);
	while ($data = mysql_fetch_array($query)) {
		echo $data["page_content"];
	}
}

?>